<?php


namespace app\index\controller;
use think\Controller;
use think\Request;

class Error extends Controller
{
    public function index()
    {
//        return json(array('error'=>405,'message'=>'No routing path can be found for the request.'));
        return "页面加载错误";
    }

    public function miss(){
        $this->assign('title',"404");
        return $this->fetch("index/router_error");
    }
}